package com.dataseek.iot.toolkit.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @discription:
 * @author: Freya.Yan
 * @date: 2022/1/11
 */
@Data
@TableName(value = "tenant.device_list")
public class DeviceList extends BaseEntity {
    //主鍵id
    @TableId(value = "id")
    private Long id;

    @TableField(value = "device_code")
    private String deviceCode;
    @TableField(value = "device_name")
    private String deviceName;
    @TableField(value = "pdt_name")
    private String pdtName;
    @TableField(value = "pdt_code")
    private String pdtCode;
    @TableField(value = "ctg_name")
    private String ctgName;
    @TableField(value = "ctg_code")
    private String ctgCode;
    @TableField(value = "device_address")
    private String deviceAddress;
    @TableField(value = "device_location")
    private String deviceLocation;

    private Double radius;
    private String remark;
    private String status;

    @TableField(value="alarm_status")
    private int alarmStatus;

    //设备量程
    @TableField(value = "device_range")
    private String deviceRange;

    //报修信息
    @TableField(value = "repair_msg")
    private String repairMsg;




}
